<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once APPLICATION_PATH . '/models/Single/BaseEntity.php';
require_once APPLICATION_PATH . '/models/Mapper/ProvinciasMapper.php';
require_once APPLICATION_PATH . '/models/DbTable/Provincias.php';

/**
 * Description of Provincia
 *
 * @author kristian
 */
class Spalm_Model_Single_ProvinciaEntity extends Spalm_Model_Single_BaseEntity{
    protected $_nombre;
    protected $_pais;

    public function  __construct() {;
        $this->setMapper(new Spalm_Model_Mapper_ProvinciasMapper(new Spalm_Model_DbTable_Provincias()));
    }

    public function setNombre($nombre){
        $this->_nombre = $nombre;
    }
    public function getNombre(){
        return $this->_nombre;
    }

    public function setPais(Spalm_Model_Single_PaisEntity $pais){
        $this->_pais = $pais;
    }
    public function getPais(){
        return $this->_pais;
    }

    public function isRemovable() {
        $salida = true;

        /*
         * consultas
         */


        /*
         * evaluaciones
         */


        return $salida;
    }
}
?>
